home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 8435 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.4 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: v34 speed on txt files???
  5. Date: Tue, 19 Mar 96 00:51:57 GMT
  6. Organization: none
  7. Message-ID: <827196717snz@genesis.demon.co.uk>
  8. References: <4iimcj$gj6@hg.oro.net>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4iimcj$gj6@hg.oro.net> estarry@oro.net "Ed Starry" writes:
  15.  
  16. >fairbank@access.digex.net (Eric Fairbank) wrote about {Re: v34 speed on txt
  17. >files???} in 'comp.dcom.modems'...
  18. >
  19. >~  Don't be sorry, I want more input on this. I did some testing on the
  20. >~"bible" file. Without compression, I got 3385cps, with compression,
  21. >~7680cps. That's a comression ratio of 2.26:1 I *know* that the v.42bis
  22. >~protocol can compress files to 4:1. Some files can go as high as 10:1
  23. >~and more (contrary to popular belief). I'm just disputing Mr.
  24. >~Kristal's claim that he *regularly* gets 10k/sec on general text
  25. >~files. Iv'e asked for a specific site and file name, but I guess he is
  26. >~unwilling to back up his claim. His test file is useless for real
  27. >~world comparisons. I would like to see 3:1 or 4:1, as a test for my
  28. >~own modem and to just see it for myself.
  29. >
  30. >~Thanks for your input
  31. >~Eric
  32. >========================
  33. >
  34.  
  35. >        You want a large real world redundant on-line file! Try
  36. ><ftp://ftp.microsoft.com/Is-IR.txt>. I use this for a test file but always
  37. >stop before completion, it's 7 Mg.
  38.  
  39. That is certainly a highly redundant file. But as such it isn't a very
  40. typical text file. If you zip it you get nearly 10:1 compression.
  41.  
  42. >Depending on time of day and Net traffic,
  43. >I've seen max. throughput of 8.4 KByte/sec on this file (6-7 KByte/sec being
  44. >the norm). With my 14.4 modem this works out to about 5.9:1 max.
  45.  
  46. Which is quite decent. However it would still be faster to download
  47. ls-lr.Z (those are l's, not I's)
  48.  
  49. >compression. LAPM supports up to 12 KByte/sec with a 14.4 modem.
  50.  
  51. LAP-M is the primary error correction protocol used in V.42 - it doesn't
  52. support speeds at all.
  53.  
  54. >My ISP's
  55. >28.8 modems and my 14.4 modem are *both LAPM compliant* and both set at
  56. >115,200 bps.
  57.  
  58. Can you think of a V.32bis or especially V.34 modem that doesn't support
  59. V.42 (or even one that doesn't support V.42bis for that matter).
  60.  
  61. This is while using WfW v3.11. If I lower MSS from my normal
  62. >1460 to 512 this 6-7 KByte/sec rate will drop by 2-3 KByte/sec.
  63.  
  64. Even with IP fragmentation it shouldn't drop that much.
  65.  
  66. >Naturally a
  67. >modem that only supports MNP compression or connects with a MNP modem should
  68. >expect compression ratios proportionately lower than mine.
  69. >        The text portion of Web pages will be between 4-6 KByte/sec if it's
  70. > long
  71. >enough to get compression fired up, 15-20,000 bytes or larger.
  72. >        Two V.34/28.8-LAPM modems should easily transfer generic text files in
  73. > the
  74. >neighborhood of 19-20 KByte/sec!
  75.  
  76. You might just about achieve that with a highly redundant file like ls-lr
  77. but with a 'generic' text file - no chance.
  78.  
  79. >After all they are rated at 230,400 bps.
  80.  
  81. That's just the maximum DTE speed. It says next to nothing about the
  82. throughput you'll achieve in practice.
  83.  
  84. >        Remember, no matter what type of modem you have you can never download
  85. >faster than the other end can upload! "If you assume the other modem is
  86. >running at 100% you will probably be 100% wrong." If my ISP was running at
  87. >100% then I would see 12 KByte/sec text file transfers instead of the 6-7
  88. >KByte/sec rate I now get.
  89.  
  90. You're talking about compression ratios that are optimistic even for
  91. heavyweight compressors like PKZIP. While V.42bis is good for a modem
  92. compression scheme it is designed for limited CPU and memory resources
  93. and doesn't really compete.
  94.  
  95. You might get that on exceptionally redundant files full of spaces and
  96. repeated character sequences, such as ls-lr, but not on reasonable text
  97. files.
  98.  
  99. OK, its time to inject some real data into this discussion.
  100.  
  101. I grabbed about the first half of ls-lr from ftp.microsoft.com and did some
  102. ZMODEM transfers between 2 systems I control to take any unknowns out of
  103. the equation. The systems have good serial ports set to 115200bps, working
  104. flow control etc. and are connected to Courier V.34+'s which for the purposes
  105. of these tests were locked to 28800 or 14400bps link speed with V.42bis. I
  106. timed the transfers with a stopwatch. There were no ZMODEM errors/retries.
  107.  
  108. ls-lr 3431132 bytes 28800bps 5min2sec - file data rate 11360cps
  109.  
  110. ls-lr 3431132 bytes 14400bps 6min2sec - file data rate 9480cps
  111.  
  112. So this shows that the link works and can deal with the throughput, and that
  113. the modems have a servicable V.42bis implementation.
  114.  
  115. The problem is to find a reasonable example of a 'generic' text file. This
  116. is certainly open to debate but my solution is to take the contents of
  117. a discussion newsgroup - comp.dcom.modems. I only have 162 articles available
  118. locally (265977 bytes) so I repeated the data 4 times to get a decent file
  119. size.
  120.  
  121. cdm   1063908 bytes 28800bps 3min6sec - file data rate 5720cps
  122.  
  123. So with a reasonable text file you're doing OK if you get more than
  124. 2:1 compression. Normally I'd expect between 2:1 and 3:1 (and about 1.5:1
  125. to 2:1 for MNP5).
  126.  
  127. For reference PKZIP manages to compress cdm about 3:1.
  128.  
  129. -- 
  130. -----------------------------------------
  131. Lawrence Kirby | fred@genesis.demon.co.uk
  132. Wilts, England | 70734.126@compuserve.com
  133. -----------------------------------------
  134.